package cn.sxt.yxl.question.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;

import cn.sxt.yxl.common.util.PageInfoUtil;
import cn.sxt.yxl.question.pojo.AColomns;
import cn.sxt.yxl.question.pojo.AItems;
import cn.sxt.yxl.user.pojo.ARole;

public interface IQuestionService {
	//栏目模块	
			//查询一条
			AColomns findOneColomnsService(Map<String,Object> condMap);
			//添加一个
			JSONObject saveOneColomnsService(AColomns columns);
			//更新一个
			JSONObject updateOneColomnsService(AColomns columns);
			//shanchu删除一个
			JSONObject deleteOneColomnsService(AColomns columns);
			//条件查询
			List<AColomns> findCondListColomnsService(PageInfoUtil pageInfoUtil,Map<String, Object> condMap);
		
//-----------------------------------
			//更新一条测试项
			JSONObject saveOneItemsService(AItems items);
			//删除
			JSONObject deleteOneItemsService(AItems items);
			//查询单个
			AItems findOneItemsService(Map<String, Object> condMap);
			//按条件查询
			List<AItems> findItemsCondListService(PageInfoUtil pageInfoUtil , Map<String, Object> condMap);
			
			
		}
